home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
borland
/
jnfb88.zip
/
CFLOAT.ZIP
/
DENORMAL.C
next >
Wrap
Text File
|
1987-06-23
|
195b
|
10 lines
/* Listing 1: */
double x,y;
main(){
x = 1.e-300;
y = x *(1. + 1.e-15);
if (x == y) puts("x == y"); else puts("x != y");
if (x - y == 0.) puts("x - y = 0"); else puts("x - y != 0");
}